/*
 *    Document   : McTonner
 *    Created on : 04/03/2013, 15:24:10
 *    Author     : Fiúza <rbfiuza@gmail.com>
 */

Ext.define('FC.model.McTonner',{
    extend: 'Ext.data.Model'
    
    ,fields:[
        'tonner',
        {name:'id',type:'int'}
        ,{name:'dscMcTonner',type:'string'}
        ,{name:'qntIpes',type:'int'}
        ,{name:'qntTonner',type:'int'}
        ,{name:'qntTotal',type:'number'}
        ,{name:'vlrUnit',type:'number'}
        ,{name:'vlrFinal',type:'number'}
        ,{name:'indicacoesParametros', type:'string'}
    ],

    validations:[
       {type:'presence', field:'qntIpes'}
       ,{type:'presence', field:'qntTonner'}
       ,{type:'presence', field:'vlrUnit'}
    ]    
    
    
    
});